package com.mysite.angular.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mysite.angular.mapper.AcOperatorMapper;
import com.mysite.angular.po.AcOperator;

@Service
public class OperatorService {

	@Autowired
	private AcOperatorMapper acOperatorMapper;

	public List<AcOperator> getOperatorList(Map<String, Object> searchMap) {
		return acOperatorMapper.getOperatorList(searchMap);
	}

	public Integer checkOperatorExisted(AcOperator operator) {
		return acOperatorMapper.checkOperatorExisted(operator);
	}
}
